home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_27423_†SP Voice Stop.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.0 KB  |  27 lines

  1. SP Voice Stop (reference) -> err
  2.  
  3. reference   integer       specifys the channel you want to stop. Use the
  4.                                     reference number obtained from the
  5.                                    SP Open Voice function.
  6. err             integer       returns the error which occured. 
  7.                                     A value of zero indicates no error occured. See 
  8.                                     below for a list of possible errors.
  9.  
  10. Function to stop the specified speech channel speaking the lines.
  11.  
  12. The SP Voice Pause, SP Voice Cont and SP Voice Stop functions are perfectly suited to make a row of buttons to play, stop, pause and continue the speech of the selected text in a text field.
  13.  
  14. When you pass reference value -1 all currently opened speech channels will stop.
  15.  
  16. Example:
  17.   See the SP Voice Pause topic.
  18.  
  19. Possible errors:
  20.         0  No Error
  21.       -4  Speech Pack can not be used (Speech Mgr not available)
  22. -3000  Invalid SpeechChannel parameter, probably invalid reference
  23.             number
  24.  
  25.  
  26.  
  27.